home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 1.8 KB | 59 lines | [TEXT/MPS ] |
- ;
- ; File: CommResources.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__COMMRESOURCES__') = 'UNDEFINED' THEN
- __COMMRESOURCES__ SET 1
-
-
- IF &TYPE('__OSUTILS__') = 'UNDEFINED' THEN
- include 'OSUtils.a'
- ENDIF
- ; include 'Types.a' ;
- ; include 'ConditionalMacros.a' ;
- ; include 'MixedMode.a' ;
- ; include 'Memory.a' ;
-
- ; tool classes (also the tool file types)
- classCM EQU 'cbnd'
- classFT EQU 'fbnd'
- classTM EQU 'tbnd'
-
- ; version of the Comm Resource Manager
- curCRMVersion EQU 2
- ; constants general to the use of the Communications Resource Manager
- crmType EQU 9 ; queue type
- crmRecVersion EQU 1 ; version of queue structure
- ; error codes
- crmGenericError EQU -1
- crmNoErr EQU 0
-
- ; data structures general to the use of the Communications Resource Manager
- CRMRec RECORD 0
- qLink ds.l 1 ;reserved
- qType ds.w 1 ;queue type -- ORD(crmType) = 9
- crmVersion ds.w 1 ;version of queue element data structure
- crmPrivate ds.l 1 ;reserved
- crmReserved ds.w 1 ;reserved
- crmDeviceType ds.l 1 ;type of device, assigned by DTS
- crmDeviceID ds.l 1 ;device ID; assigned when CRMInstall is called
- crmAttributes ds.l 1 ;pointer to attribute block
- crmStatus ds.l 1 ;status variable - device specific
- crmRefCon ds.l 1 ;for device private use
- sizeof EQU 34
- ENDR
-
- ENDIF ; __COMMRESOURCES__
-